package com.dhu719.label_end.mapper;

import com.dhu719.label_end.domain.Image_info;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ImageMapper {
    @Insert("insert into image_info " +
            "values " +
            "(#{image.image_id},#{image.patient_id})")
    int insert(@Param("image")Image_info image_info);
}
